package rc.work.module.bpm.controller.admin.problem.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import rc.work.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static rc.work.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 流程实列和问题的关联分页 Request VO")
@Data
public class ProblemGroupPageReqVO extends PageParam {

    @Schema(description = " 流程记录表Id", example = "4370")
    private Long problemBpmId;

    @Schema(description = "流程id", example = "10753")
    private String insId;

    @Schema(description = "表名")
    private String resultTable;

    @Schema(description = "参数 用来查询改组信息")
    private String params;

    @Schema(description = "参数 用来查询改组信息", example = "21842")
    private String groupId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}